Optimal. Leaf size=86 \[ \frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{2 d}-\frac {(b c-a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x^2}}{\sqrt {b} \sqrt {c+d x^2}}\right )}{2 \sqrt {b} d^{3/2}} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {444, 50, 63, 217, 206} \begin {gather*} \frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{2 d}-\frac {(b c-a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x^2}}{\sqrt {b} \sqrt {c+d x^2}}\right )}{2 \sqrt {b} d^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 206
Rule 217
Rule 444
Rubi steps
\begin {align*} \int \frac {x \sqrt {a+b x^2}}{\sqrt {c+d x^2}} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {\sqrt {a+b x}}{\sqrt {c+d x}} \, dx,x,x^2\right )\\ &=\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{2 d}-\frac {(b c-a d) \operatorname {Subst}\left (\int \frac {1}{\sqrt {a+b x} \sqrt {c+d x}} \, dx,x,x^2\right )}{4 d}\\ &=\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{2 d}-\frac {(b c-a d) \operatorname {Subst}\left (\int \frac {1}{\sqrt {c-\frac {a d}{b}+\frac {d x^2}{b}}} \, dx,x,\sqrt {a+b x^2}\right )}{2 b d}\\ &=\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{2 d}-\frac {(b c-a d) \operatorname {Subst}\left (\int \frac {1}{1-\frac {d x^2}{b}} \, dx,x,\frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2}}\right )}{2 b d}\\ &=\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{2 d}-\frac {(b c-a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x^2}}{\sqrt {b} \sqrt {c+d x^2}}\right )}{2 \sqrt {b} d^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.29, size = 116, normalized size = 1.35 \begin {gather*} \frac {b \sqrt {d} \sqrt {a+b x^2} \left (c+d x^2\right )-(b c-a d)^{3/2} \sqrt {\frac {b \left (c+d x^2\right )}{b c-a d}} \sinh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x^2}}{\sqrt {b c-a d}}\right )}{2 b d^{3/2} \sqrt {c+d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.50, size = 117, normalized size = 1.36 \begin {gather*} \frac {(a d-b c) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^2}}{\sqrt {d} \sqrt {a+b x^2}}\right )}{2 \sqrt {b} d^{3/2}}+\frac {\sqrt {c+d x^2} (a d-b c)}{2 d \sqrt {a+b x^2} \left (d-\frac {b \left (c+d x^2\right )}{a+b x^2}\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.62, size = 259, normalized size = 3.01 \begin {gather*} \left [\frac {4 \, \sqrt {b x^{2} + a} \sqrt {d x^{2} + c} b d - {\left (b c - a d\right )} \sqrt {b d} \log \left (8 \, b^{2} d^{2} x^{4} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x^{2} + 4 \, {\left (2 \, b d x^{2} + b c + a d\right )} \sqrt {b x^{2} + a} \sqrt {d x^{2} + c} \sqrt {b d}\right )}{8 \, b d^{2}}, \frac {2 \, \sqrt {b x^{2} + a} \sqrt {d x^{2} + c} b d + {\left (b c - a d\right )} \sqrt {-b d} \arctan \left (\frac {{\left (2 \, b d x^{2} + b c + a d\right )} \sqrt {b x^{2} + a} \sqrt {d x^{2} + c} \sqrt {-b d}}{2 \, {\left (b^{2} d^{2} x^{4} + a b c d + {\left (b^{2} c d + a b d^{2}\right )} x^{2}\right )}}\right )}{4 \, b d^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.55, size = 106, normalized size = 1.23 \begin {gather*} \frac {b {\left (\frac {{\left (b c - a d\right )} \log \left ({\left | -\sqrt {b x^{2} + a} \sqrt {b d} + \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d} \right |}\right )}{\sqrt {b d} d} + \frac {\sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d} \sqrt {b x^{2} + a}}{b d}\right )}}{2 \, {\left | b \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.01, size = 198, normalized size = 2.30 \begin {gather*} \frac {\sqrt {b \,x^{2}+a}\, \sqrt {d \,x^{2}+c}\, \left (a d \ln \left (\frac {2 b d \,x^{2}+a d +b c +2 \sqrt {x^{4} b d +x^{2} a d +b c \,x^{2}+a c}\, \sqrt {b d}}{2 \sqrt {b d}}\right )-b c \ln \left (\frac {2 b d \,x^{2}+a d +b c +2 \sqrt {x^{4} b d +x^{2} a d +b c \,x^{2}+a c}\, \sqrt {b d}}{2 \sqrt {b d}}\right )+2 \sqrt {x^{4} b d +x^{2} a d +b c \,x^{2}+a c}\, \sqrt {b d}\right )}{4 \sqrt {x^{4} b d +x^{2} a d +b c \,x^{2}+a c}\, \sqrt {b d}\, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.00, size = 280, normalized size = 3.26 \begin {gather*} \frac {\frac {{\left (\sqrt {b\,x^2+a}-\sqrt {a}\right )}^3\,\left (a\,d+b\,c\right )}{d^2\,{\left (\sqrt {d\,x^2+c}-\sqrt {c}\right )}^3}+\frac {\left (\sqrt {b\,x^2+a}-\sqrt {a}\right )\,\left (c\,b^2+a\,d\,b\right )}{d^3\,\left (\sqrt {d\,x^2+c}-\sqrt {c}\right )}-\frac {4\,\sqrt {a}\,b\,\sqrt {c}\,{\left (\sqrt {b\,x^2+a}-\sqrt {a}\right )}^2}{d^2\,{\left (\sqrt {d\,x^2+c}-\sqrt {c}\right )}^2}}{\frac {{\left (\sqrt {b\,x^2+a}-\sqrt {a}\right )}^4}{{\left (\sqrt {d\,x^2+c}-\sqrt {c}\right )}^4}+\frac {b^2}{d^2}-\frac {2\,b\,{\left (\sqrt {b\,x^2+a}-\sqrt {a}\right )}^2}{d\,{\left (\sqrt {d\,x^2+c}-\sqrt {c}\right )}^2}}+\frac {\mathrm {atanh}\left (\frac {\sqrt {d}\,\left (\sqrt {b\,x^2+a}-\sqrt {a}\right )}{\sqrt {b}\,\left (\sqrt {d\,x^2+c}-\sqrt {c}\right )}\right )\,\left (a\,d-b\,c\right )}{\sqrt {b}\,d^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \sqrt {a + b x^{2}}}{\sqrt {c + d x^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________